package trading.spring;

import org.springframework.web.servlet.view.velocity.VelocityLayoutViewResolver;

/**
 * A {@link ViewLayoutViewResolver} which returns {@link DefaultValuesVelocityLayoutView}s,
 * a sub-class of {@link VelocityKayoutView} which includes in the template context
 * default values provided by {@link DefaultValuesPopulator}. 
 * @author dcrosta
 */
public class DefaultValuesVelocityLayoutViewResolver extends VelocityLayoutViewResolver {

    @Override
    @SuppressWarnings("unchecked")
    protected Class requiredViewClass() {
        return DefaultValuesVelocityLayoutView.class;
    }
    
}
